import Vue from 'vue'
import VueRouter from 'vue-router'
import index from '../views/demo/index.vue'
import Representation from '../views/Representation/index.vue'
Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/',
      name: 'LoginIndex',
      component: index
    },
    {
      path: '/login',
      name: 'Login',
      component: index
    },
    {
      path: '/representation',
      name: 'Representation',
      component: Representation
    }
  ]
})

export default router
